package homework01;

import java.util.Random;

public class homework008 {
	public static void main(String[] args) {
		int arr[]={1,2,3,4,5};
		Random r=new Random();
		for(int i=0;i<5;i++){
			int rand=r.nextInt(5);
			int temp=arr[i];
			arr[i]=arr[rand];
			arr[rand]=temp;
		}
		for(int i=0;i<5;i++){
			System.out.println(arr[i]);
		}
	}
}
